<template>
  <div class="box">
    <van-nav-bar title="兑换" left-arrow @click-left="$router.go(-1)" />
    <van-cell title="星值兑换" is-link value="更多" />
    <!-- <router-link :to="'/exchangetext'"></router-link> -->
    <div class="view">
      <!-- <router-view></router-view> -->
      <!-- <router-view v-slot="{ Component }">
        <keep-alive>
          <component :is="Component"></component>
        </keep-alive>
      </router-view> -->
      <exchangetext></exchangetext>
    </div>
  </div>
</template>
<script>
import exchangetext from "@/views/Exchange/ExchangeText.vue";
export default {
  components: {
    exchangetext,
  },
};
</script>

<style scoped>
.box {
  height: 92%;
  display: flex;
  flex-direction: column;
}
.view {
  flex: 1;
  overflow: auto;
}
</style>
